Package-level declarations

Types

Link copied to clipboard
interface ChunkFinder : RagFacet<Chunk>

Degenerate case of traditional vector RAG, where we don't really understand the Chunks

Link copied to clipboard
class DocumentSimilarityResult(document: <Error class: unknown class>, val score: <Error class: unknown class>)
Link copied to clipboard
Link copied to clipboard
interface EntityMatch<E : Any> : EntityData

Match over an entity of type E. May be persisted in JPA or the like.

Link copied to clipboard
class FacetedRagService(facets: List<RagFacet<out Retrievable>>, facetProviders: List<RagFacetProvider>) : RagService

Rag service that combines multiple RagFacets and returns the best results

Link copied to clipboard
class FunctionRagFacet<R : Retrievable>(val name: String, searchFunction: (RagRequest) -> RagFacetResults<R>) : RagFacet<R>
Link copied to clipboard
interface RagFacet<R : Retrievable>
Link copied to clipboard
Link copied to clipboard
data class RagFacetResults<out R : Retrievable>(val facetName: String, val results: List<<Error class: unknown class><out R>>)
Link copied to clipboard
@ApiStatus.Experimental
class SpringVectorStoreRagService(vectorStore: <Error class: unknown class>, val description: String) : WritableStore, RagService

RagService wrapping a Spring AI VectorStore.